import java.util.Observable;
/**
 * 
 * @author Administrator
 *
 */
public class Broadcast extends Observable {
	private String  content ="";
	public Broadcast(String content)
	{
	     this.content = content;    
	}
	//set method
	public void saySomething(String info)
	{
	    
	    this.content = info;
	    //  必须调用以下2个方法.
	    setChanged();
	    
	    notifyObservers();
	}

	public String getValue()
	{
	    return this.content;
	}

}
